package com.onekbase.demo.spring.service;

import com.onekbase.demo.spring.dao.DemoDao;

public class DemoService {
    DemoDao dao;
    public void setDao(DemoDao dao) {
        this.dao = dao;
    }
    public void hello(){
        System.out.println("hello from demo service");
        dao.hello();
    }
}
